#include <iostream>
#include <ctime>
#include <cstdlib>

using namespace std;

int main()
{
  int input_1;
  cout << "Please enter a digit (between 0 and 10): ";
  cin >> input_1;
  int input_2;
  cout << "Please enter the second digit (between 0 and 10): ";
  cin >> input_2;

  srand(time(0));
  int number_1 = rand() % 10;
  cout << "number_1 = " << number_1 << endl;
  int number_2 = rand() % 10;
  cout << "number_2 = " << number_2 << endl;

  if(input_1 == number_1 && input_2 == number_2)
  {
    cout << "You win $10,000!" << endl;
  }
  else if(input_1 == number_2 && input_2 == number_1)
  {
    cout << "You win $3,000!" << endl;
  }
  else if(input_1 == number_1 || input_1 == number_2 || input_2 == number_1 || input_2 == number_2)
  {
    cout << "You win $1,000!" << endl;
  }
  else
  {
    cout << "Good luck next time." << endl;
  }


  return 0;
}
